[INFO] cloning repository https://github.com/danielq987/minigrep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielq987/minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielq987%2Fminigrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielq987%2Fminigrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c21b6b240e9e21dfed871e373b8e66f1e59926bb
[INFO] checking danielq987/minigrep against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielq987%2Fminigrep" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/danielq987/minigrep on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/danielq987/minigrep
[INFO] finished tweaking git repo https://github.com/danielq987/minigrep
[INFO] tweaked toml for git repo https://github.com/danielq987/minigrep written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/danielq987/minigrep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 12824cb7896be4158e4afb03d10244b1922ca04486d7a32489f75d539723da42
[INFO] running `Command { std: "docker" "start" "-a" "12824cb7896be4158e4afb03d10244b1922ca04486d7a32489f75d539723da42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12824cb7896be4158e4afb03d10244b1922ca04486d7a32489f75d539723da42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12824cb7896be4158e4afb03d10244b1922ca04486d7a32489f75d539723da42", kill_on_drop: false }`
[INFO] [stdout] 12824cb7896be4158e4afb03d10244b1922ca04486d7a32489f75d539723da42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a5eb4fd38f3cc18be1288bb6c887fd2ab720e92c208018181146be2f3cc360bd
[INFO] running `Command { std: "docker" "start" "-a" "a5eb4fd38f3cc18be1288bb6c887fd2ab720e92c208018181146be2f3cc360bd", kill_on_drop: false }`
[INFO] [stderr]     Checking minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/lib.rs:107:55
[INFO] [stdout]     |
[INFO] [stdout] 107 |         assert_eq!(vec!["duct three.", "Duct tape."], search(query, contents));
[INFO] [stdout]     |                                                       ^^^^^^----------------- an argument of type `bool` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:13:8
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub fn search<'a>(query: &str, contents: &'a str, case_sensitive: bool) -> Vec<&'a str> {
[INFO] [stdout]     |        ^^^^^^     -----------  -----------------  --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 107 |         assert_eq!(vec!["duct three.", "Duct tape."], search(query, contents, /* bool */));
[INFO] [stdout]     |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/lib.rs:117:53
[INFO] [stdout]     |
[INFO] [stdout] 117 |         assert_eq!(vec!["safe, fast, productive."], search(query, contents));
[INFO] [stdout]     |                                                     ^^^^^^----------------- an argument of type `bool` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:13:8
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub fn search<'a>(query: &str, contents: &'a str, case_sensitive: bool) -> Vec<&'a str> {
[INFO] [stdout]     |        ^^^^^^     -----------  -----------------  --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 117 |         assert_eq!(vec!["safe, fast, productive."], search(query, contents, /* bool */));
[INFO] [stdout]     |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing temporary value
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let c: &str = &contents.to_lowercase();
[INFO] [stdout]    |                    ----------------------- temporary value created here
[INFO] [stdout] ...
[INFO] [stdout] 32 |     matched_strings
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0515`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `minigrep` due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `minigrep` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "a5eb4fd38f3cc18be1288bb6c887fd2ab720e92c208018181146be2f3cc360bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5eb4fd38f3cc18be1288bb6c887fd2ab720e92c208018181146be2f3cc360bd", kill_on_drop: false }`
[INFO] [stdout] a5eb4fd38f3cc18be1288bb6c887fd2ab720e92c208018181146be2f3cc360bd
